package com.roadjava.GDOUGym.convert;

import com.roadjava.GDOUGym.bean.dto.DenueHireMessageDTO;
import com.roadjava.GDOUGym.bean.dto.PlaceDTO;
import com.roadjava.GDOUGym.bean.entity.DenueHireMessageDO;
import com.roadjava.GDOUGym.bean.entity.PlaceDO;
import org.mapstruct.Mapper;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;


@Mapper(componentModel = "spring")
public abstract class DenueHireMessageConvert {
    @Resource
    private HttpServletRequest httpServletRequest;

    public abstract DenueHireMessageDO dto2do(DenueHireMessageDTO dto);

    public abstract DenueHireMessageDTO do2dto(DenueHireMessageDO denueHireMessageDO);

    public abstract List<DenueHireMessageDTO> dos2dtos(List<DenueHireMessageDO> denueHireMessageDOS);
}
